# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=dpscan
pkgver=0.1
pkgrel=5
groups=('blackarch' 'blackarch-scanner' 'blackarch-webapp' 'blackarch-fuzzer')
pkgdesc='Drupal Vulnerability Scanner.'
url='https://github.com/insaneisnotfree/Blue-Sky-Information-Security'
arch=('any')
license=('GPL2')
depends=('python2')
makedepends=('git')
source=("$pkgname::git+https://github.com/insaneisnotfree/Blue-Sky-Information-Security.git")
sha512sums=('SKIP')

prepare() {
  cd $pkgname

  sed -i 's/\home\/bin\/python/usr\/bin\/python2/' DPScan.py
}

package() {
  cd $pkgname

  install -Dm 755 DPScan.py "$pkgdir/usr/bin/$pkgname"
}

